package finassist.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * AJ Projects
 * Entity.java
 * Purpose: Entity Bean.
 *
 * @author Karthick Natarajan
 * @version 1.0 9/16/13
 */

@Entity
@Table(name="public.fnas_ledger_sub_type")
public class LedgerSubType{
	
//	private static final long serialVersionUID = -8767337896773261247L;

	private String id;
	
	private String ledgerSubTypeName;
	private String ledgerTypeId;
		

	@Id
	@GeneratedValue
	@Column(name="ledger_sub_type_uid")
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	@Column(name="ledger_sub_type_name")
	public String getLedgerSubTypeName() {
		return ledgerSubTypeName;
	}

	public void setLedgerSubTypeName(String ledgerSubTypeName) {
		this.ledgerSubTypeName = ledgerSubTypeName;
	}

	@Column(name="ledger_type_uid")
	public String getLedgerTypeId() {
		return ledgerTypeId;
	}

	public void setLedgerTypeId(String ledgerTypeId) {
		this.ledgerTypeId = ledgerTypeId;
	}
}
